package com.hellogood.yaohuo.shared.services;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.hellogood.yaohuo.shared.entity.YhForm;

public interface YaohuoServiceAsync {

	void searchYaohuoFormByOrgCodeAndDate(String orgCode, int level, String startDate, String endDate, String rz, AsyncCallback<List<YhForm>> callback);

	void getFormDetail(String billNo, AsyncCallback<YhForm> callback);

	void deleteForm(String billNo, AsyncCallback<String> callback);

	void saveForm(YhForm form, boolean isModify, AsyncCallback<String> callback);

	void bankForm(List<String> bills, AsyncCallback<String> callback);

	void getLastYhBillNo(String orgCode, AsyncCallback<String> callback);

}
